package com.zjd.association.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 系统用户
 *
 * @author: zjd
 * @date: 2024-5-22
 */
@Data
@TableName(value = "users")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(value = "id")
    private String id;

    /**
     * 用户账号
     */
    @TableField(value = "user_name")
    private String userName;

    /**
     * 用户密码
     */
    @TableField(value = "pass_word")
    private String passWord;

    /**
     * 用户姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 用户性别
     */
    @TableField(value = "gender")
    private String gender;

    /**
     * 用户年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 联系电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 联系地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 信息状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 添加时间
     */
    @TableField(value = "create_time")
    private String createTime;

    /**
     * 用户身份
     */
    @TableField(value = "type")
    private Integer type;

}